import { CloudDownloadOutlined } from '@ant-design/icons';
import { Button, Radio, Icon, message } from 'antd';

export default () => {
  return (
    <div>
      <span>请先下载模板文件</span>
      <br></br>
      <br></br>
      <Button
        type="primary"
        size="large"
        onClick={() => {
          message.info('开始下载');
          setTimeout(() => {
            window.location.href =
              'https://sxit-gc.oss-cn-beijing.aliyuncs.com/tdf-bms-file/%E6%B7%BB%E5%8A%A0%E7%94%A8%E6%88%B7%E6%95%B0%E6%8D%AE.xlsx';
          }, 1000);
        }}
      >
        <CloudDownloadOutlined />
        Download
      </Button>
      <br></br>
      <br></br>
    </div>
  );
};
